package com.ecarx.module_vehicle.signal.Model;

import com.ecarx.xui.adaptapi.car.IWrapper;

/**
 * mModePropertyId = mWrapper.getWrappedPropertyId(IWrapper.WrappedIdType.ID_TYPE_FUNCTION,
 * ILamp.SETTING_FUNC_WELCOME_LIGHT_MODE);
 */
public class WrappedPropertyId extends BaseBean {
    /**
     * 接口值的类型
     * Boolean
     * Float
     * Int
     */
    private String type;

    private boolean canSet;

    private boolean canGet;

    public WrappedPropertyId(String name, String shortName, String adaptId, String aospId, String type, boolean canSet, boolean canGet) {
        this.name = name;
        this.shortName = shortName;
        this.adaptId = adaptId;
        this.aospId = aospId;
        this.type = type;
        this.canSet = canSet;
        this.canGet = canGet;
    }

    public String getType() {
        return type;
    }

    public boolean isCanSet() {
        return canSet;
    }

    public boolean isCanGet() {
        return canGet;
    }

    @Override
    public String toString() {
        return "WrappedPropertyId{" +
                "name='" + name + '\'' +
                ", adaptId='" + adaptId + '\'' +
                ", aospId='" + aospId + '\'' +
                ", shortName='" + shortName + '\'' +
                ", type='" + type + '\'' +
                ", canSet='" + canSet + '\'' +
                ", canGet='" + canGet + '\'' +
                '}';
    }
}